﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CqusInfo.RAL.Community
{
    /// <summary>
    /// tb_Comments  评论表
    /// </summary>
    public class CommentsModel
    {
        public string c_vc_cId { get; set; }
        public string c_vc_ccId { get; set; }
        public string c_vc_userName { get; set; }
        public Int32 c_i_type { get; set; }
        public DateTime c_dt_dateTime { get; set; }
        public string c_vc_content { get; set; }
        public bool c_b_isDel { get; set; }

        /// <summary>
        /// 无参构造函数
        /// </summary>
        public CommentsModel()
        {

        }

        /// <summary>
        /// 有参构造函数
        /// </summary>
        /// <param name="cId">tb_Comments  ID </param>
        /// <param name="ccId">tb_Comments  ID (被回复的评论信息)</param>
        /// <param name="userName">用户名</param>
        /// <param name="type">被评论的信息的类别（0：情感心路 1：日记 2：图像 3：留言）</param>
        /// <param name="dateTime">发表日期</param>
        /// <param name="content">内容</param>
        /// <param name="isDel">是否删除</param>
        public CommentsModel(string cId,string ccId,string userName,Int32 type,DateTime dateTime,string content,bool isDel)
        {
            this.c_vc_cId = cId;
            this.c_vc_ccId = ccId;
            this.c_vc_userName = userName;
            this.c_i_type = type;
            this.c_dt_dateTime = dateTime;
            this.c_vc_content = content;
            this.c_b_isDel = isDel;
        }
    }
}
